#ifndef MYLINEITEM_H
#define MYLINEITEM_H
#include "Head.h"
#include"Myrectitem.h"
class Mylineitem:public QObject,public QGraphicsLineItem
{Q_OBJECT
public:
    Mylineitem(MyRectItem* a,MyRectItem* b,int x1,int y1,int x2,int y2);
    MyRectItem* from;
    MyRectItem* to;


public slots:
void updateLinePosition();
};

#endif // MYLINEITEM_H
